<%@ page language="java" contentType="text/html; charset=UTF-8" pageEncoding="UTF-8"%>
<form action="${param.action}" method="post">
	<input type="hidden" name="id" value="${model.id}" />
	<div class="custom-form">
		<ul>
			<li><span>类型：</span><input name="type.id" type="text" class="easyui-combobox"
				data-options="required:true,url:'hrm/dic/certificateType/comboBox?sort=sort,asc',valueField:'id',textField:'name',method:'get'" value="${model.type.id}" /></li>
			<li><span>员工：</span><input name="user.id" type="text" class="easyui-combotree"
				data-options="required:true,url:'sys/user/combotree',valueField:'id',textField:'name',method:'get',icons:[clearInput_icon],onBeforeSelect:function(node){return $(this).tree('isLeaf',node.target);}"
				value="${model.user.id}" /></li>
			<li><span>证书编号：</span><input name="no" type="text" class="easyui-textbox" data-options="required:true,validType:['length[1,255]','htmlUnescape']" value="${model.no}" /></li>
			<li><span>证书扫描件：</span><input name="file" class="easyui-filebox" data-options="required:true,editable:false,buttonText:'选择',icons:[clearInput_icon]" value="${model.originalFilename}" /></li>
			<li><span>注册编号：</span><input name="regNo" type="text" class="easyui-textbox" data-options="required:true,validType:['length[1,255]','htmlUnescape']" value="${model.regNo}" /></li>
			<li><span>发证日期：</span><input name="issueDate" type="text" class="easyui-datebox" value="${model.issueDate}" /></li>
			<li><span>到期日期：</span><input name="expiryDate" type="text" class="easyui-datebox" value="${model.expiryDate}" /></li>
			<li><span>年审周期：</span><input name="cycle" type="text" class="easyui-textbox" data-options="validType:['length[1,31]','htmlUnescape']" value="${model.cycle}" /></li>
			<li><span>是否继教：</span><input name="continueEdu" type="text" class="easyui-combobox" data-options="url:'statics/json/boolean.json',valueField:'id',textField:'name',method:'get'"
				value="${model.continueEdu?1:0}" /></li>
			<li><span>公司需要：</span><input name="need" type="text" class="easyui-combobox" data-options="url:'statics/json/boolean.json',valueField:'id',textField:'name',method:'get'"
				value="${model.need?1:0}" /></li>
			<li><span>排序：</span><input name="sort" type="text" class="easyui-numberspinner" data-options="required:true" value="${model.sort}" /></li>
			<li><span>备注：</span><input name="description" type="text" class="easyui-textbox" data-options="multiline:true,height:100,validType:['length[1,255]','htmlUnescape']"
				value="${model.description}" /></li>
		</ul>
		<input type="hidden" name="_dontcare" value="_dontcare"/>
	</div>
</form>